package com.zengruoxing.helloworld;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class NextActivity extends Activity{
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_second);
    }

    public void onClick(View view) {
        Intent intent_m = new Intent();
        intent_m.setClass(NextActivity.this, MainActivity.class);
        startActivity(intent_m);
    }
}
